package com.qingcloud.adminbackend.service;

import com.qingcloud.adminbackend.base.AjaxResult;
import com.qingcloud.adminbackend.entity.aline.TcpValueCommandDTO;
import com.qingcloud.adminbackend.entity.upgrade.*;
import com.qingcloud.adminbackend.entity.upgrade.*;

import java.util.List;

/**
 * @ClassName TdCalibrationService
 * @Description 设备校准服务接口
 * @Author qym
 * @Date 2020/12/22 下午12:50
 **/
public interface ITdCalibrationService {

    AjaxResult getCalibrationEventPage(CalibrationRequest calibrationRequest);

    AjaxResult searchEquipments(List<String> equipmentIds);

    AjaxResult addCalibrationEvent(CalibrationEventDTO calibrationEventDTO);

    AjaxResult addCalibrationEquipment(List<CalibrationEquipmentDTO> calibrationEquipmentDTOs);

    AjaxResult searchCalibrationMode(List<String> equipmentIds);

    AjaxResult setCalibrationMode(List<TcpValueCommandDTO> tcpValueCommandDTOList);

    AjaxResult searchCalibrationTamper(List<String> equipmentIds);

    AjaxResult setCalibrationTamper(List<TcpValueCommandDTO> tcpValueCommandDTOList);

    AjaxResult setCalibrationStep(CalibrationStepDTO calibrationStepDTO);

    AjaxResult searchCalibrationStep(List<String> equipmentIds);

    AjaxResult getNewestData(List<String> equipmentIds);

    AjaxResult searchCalibrationDAC(String equipmentId);

    AjaxResult setCalibrationAccuracy(CalibrationAccuracyDTO calibrationAccuracyDTO);

    AjaxResult searchCalibrationAccuracy(List<String> equipmentIds);

    AjaxResult stopCalibration(List<String> equipmentIds);

    AjaxResult stopAllCalibration(List<Integer> eventIds);

    AjaxResult startCalibration(List<String> equipmentIds);

    AjaxResult setAllUpLoadFeq(CalibrationRequest request);
}
